package com.wjm.blog.system.vo.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;


/**
 * 资源信息表列表VO
 *
 * @author wjm
 * @version 1.0
 * @date 2023-10-18T14:34:39.230
 */
@Data
@ApiModel
public class SysResourceListVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "资源名称")
    private String name;

    @ApiModelProperty(value = "资源编码")
    private String code;

    @ApiModelProperty(value = "资源类型 1：目录 2：菜单 3：按钮")
    private Integer type;

    @ApiModelProperty(value = "资源URL")
    private String url;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "排序号")
    private Integer sort;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "上级ID -1为根级")
    private Long parentId;

    @ApiModelProperty(value = "启用标识 0：否，1：是")
    private Integer isEnabled;

}
